package com.crm.business.examine.mapper;

import com.crm.common.examine.entity.PO.ExamineRecord;
import com.crm.business.servlet.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 审核记录表 Mapper 接口
 * </p>
 *
 * @author zhangzhiwei
 * @since 2020-11-19
 */
public interface ExamineRecordMapper extends BaseMapper<ExamineRecord> {

    /**
     * 根据业务主键查询审核记录集合
     * @param typeId 业务数据主键
     * @return 审核记录集合
     */
    List<ExamineRecord> queryRecordListByTypeId(@Param("typeId") Integer typeId);

    Integer selectRecordId(@Param("typeId") Integer typeId);

}
